package com.ruoyi.counter.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 登录记录对象 signin
 *
 * @author xll
 * @date 2021-08-02
 */
public class Signin extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID  */
    private Long id;

    /** 操作时间 */
    @Excel(name = "操作时间")
    private String optime;

    /** 登录人员编号 */
    @Excel(name = "登录人员编号")
    private Long userid;

    /** 副柜id */
    @Excel(name = "副柜id")
    private Long countersubid;

    /** 操作类型 */
    @Excel(name = "操作类型")
    private Long type;

    /** 部门ID */
    private Long deptId;

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public String getLoginType() {
        return loginType;
    }

    public void setLoginType(String loginType) {
        this.loginType = loginType;
    }

    /** 操作类型 */
    @Excel(name = "操作类型")
    private String loginType;


    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    /** 使用人名称 */
    @Excel(name = "使用人名称")
    private String userName;

    public String getSysUserName() {
        return sysUserName;
    }

    public String getCounterName() {
        return counterName;
    }

    public void setSysUserName(String sysUserName) {
        this.sysUserName = sysUserName;
    }

    public void setCounterName(String counterName) {
        this.counterName = counterName;
    }

    @Excel(name = "登录人员")
    private String sysUserName;

    @Excel(name = "工具柜名称")
    private String counterName;


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOptime(String optime)
    {
        this.optime = optime;
    }

    public String getOptime()
    {
        return optime;
    }
    public void setUserid(Long userid)
    {
        this.userid = userid;
    }

    public Long getUserid()
    {
        return userid;
    }
    public void setCountersubid(Long countersubid)
    {
        this.countersubid = countersubid;
    }

    public Long getCountersubid()
    {
        return countersubid;
    }
    public void setType(Long type)
    {
        this.type = type;
    }

    public Long getType()
    {
        return type;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("optime", getOptime())
            .append("userid", getUserid())
            .append("countersubid", getCountersubid())
            .append("type", getType())
            .append("username", getUserName())
            .toString();
    }
}
